package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.Charge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChargeMapper {
    long deleteById(long id);
    long update(Charge charge);
    long insert(Charge charge);
    List<Charge> selectAll();
    List<Charge> selectByPrimaryKey(long id);
    List<Charge> findByPage(@Param("pageNum") int pageNum,
                            @Param("pageSize") int pageSize,
                            @Param("charge") Charge charge);
}
